package com.example.sportplay.bean;

public class car {
    private String name;
    private String state;
    private String username;
    private String carnumber;

    public car() {
    }

    public car(String name, String state,String username,String carnumber) {
        this.name = name;
        this.state = state;
        this.username = username;
        this.carnumber =carnumber;
    }

    @Override
    public String toString() {
        return "car{" +
                "name='" + name + '\'' +
                ", state='" + state + '\'' +
                ", username='" + username + '\'' +
                ", carnumber='" + carnumber + '\'' +
                '}';
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setState(String state) {
        this.state = state;
    }
    public void setUsername(String username) {
        this.username = username;
    }

    public void setCarnumber(String carnumber) {
        this.carnumber =carnumber;
    }


    public String getName() {
        return name;
    }

    public String getState() {
        return state;
    }
    public String getUsername() {
        return username;
    }

    public String getCarnumber() {
        return carnumber;
    }
}
